<!DOCTYPE html>
<html lang="en">

<head>
  @@include('./meta.html',{})
</head>

<body class="app-component">
  @@include('./header.html',{
  "components": "active"
  })
  <div class="component-wrapper">
    <div class="component-navleft">
      @@include('./navleft.html',{
      "tab_element": "active"
      })
    </div><!-- component-navleft -->

    <div class="component-sidebar">
      @@include('./sidebar.html',{
      "tab_element": "active",
      "modal": "active",
      "urlPrefix": "."
      })
    </div><!-- component-sidebar -->

      <div class="component-content">
        <div class="component-content-header">
          <nav aria-label="breadcrumb">
            <ol class="breadcrumb breadcrumb-style1 mg-b-0">
              <li class="breadcrumb-item"><a href="#">Components</a></li>
              <li class="breadcrumb-item"><a href="#">UI Elements</a></li>
              <li class="breadcrumb-item active" aria-current="page">Modal</li>
            </ol>
          </nav>
          <a href="javascript:;" id="componentOptions" class="text-secondary mg-l-auto d-xl-none"><i data-feather="more-horizontal"></i></a>
        </div><!-- component-content-header -->

        <div class="component-content-body" data-spy="scroll" data-target="#navSection" data-offset="120">
          <div class="content content-components">
            <div class="container">
              <!--sd-->
              <h1 class="td-title">Modal</h1>
        <p class="td-lead">Add dialogs to your site for lightboxes, user notifications, or completely custom content. Read the <a href="https://getbootstrap.com/docs/4.2/components/modal/" target="_blank">Official Bootstrap Documentation</a> for a full list of instructions and other options.</p>

        <hr class="mg-y-40">

        <h4 id="section1" class="mg-b-10">Basic Example</h4>
        <p class="mg-b-30">Below is the static example of the basic modal.</p>

        <div data-label="Example" class="td-example">
          <div class="demo-modal-static">
            <div class="modal" tabindex="-1" role="dialog">
              <div class="modal-dialog" role="document">
                <div class="modal-content">
                  <div class="modal-header">
                    <h6 class="modal-title">Modal Title</h6>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                      <span aria-hidden="true">&times;</span>
                    </button>
                  </div>
                  <div class="modal-body">
                    <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p>
                  </div>
                  <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary">Save changes</button>
                  </div>
                </div>
              </div>
            </div><!-- modal -->
          </div><!-- demo-modal-static -->
        </div><!-- td-example -->
        <div class="demo-modal-btn bd-t-0">
          <a href="#modal1" class="btn btn-dark" data-toggle="modal">View Live Demo</a>
        </div>

        <hr class="mg-y-40">

        <h4 id="section2" class="mg-b-10">Vertically Centered</h4>
        <p class="mg-b-30">Display modal in the center of the screen by adding  <code>.modal-dialog-centered</code> to <code>.modal-dialog</code>.</p>

        <div class="demo-modal-btn">
          <a href="#modal2" class="btn btn-dark" data-toggle="modal">View Live Demo</a>
        </div>

        <hr class="mg-y-40">

        <h4 id="section3" class="mg-b-10">Optional Sizes</h4>
        <p class="mg-b-30">Modals have three optional sizes, available via modifier classes to be placed on a <code>.modal-dialog</code>.</p>

        <div class="demo-modal-btn">
          <a href="#modal3" class="btn btn-dark" data-toggle="modal">Extra Large Modal</a>
          <a href="#modal4" class="btn btn-dark" data-toggle="modal">Large Modal</a>
          <a href="#modal5" class="btn btn-dark" data-toggle="modal">Small Modal</a>
        </div>

        <hr class="mg-y-40">

        <h4 id="section4" class="mg-b-10">Change Animation</h4>
        <p class="mg-b-30">Below are different kind of effects to choose from.</p>

        <div class="demo-modal-btn d-block pd-x-10 tx-center">
          <div class="row row-xs">
            <div class="col-sm-6 col-md-3">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-scale">Scale</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10 mg-sm-t-0">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-slide-in-right">Slide In Right</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10 mg-md-t-0">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-slide-in-bottom">Slide In Bottom</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10 mg-md-t-0">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-newspaper">Newspaper</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-fall">Fall</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-flip-horizontal">Flip Horizontal</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-flip-vertical">Flip Vertical</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-super-scaled">Super Scaled</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-sign">Sign</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-rotate-bottom">Rotate Bottom</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-rotate-left">Rotate Left</a>
            </div>
            <div class="col-sm-6 col-md-3 mg-t-10">
              <a href="#modal6" class="btn btn-dark btn-block" data-toggle="modal" data-animation="effect-just-me">Just Me</a>
            </div>
          </div>
        </div><!-- demo-modal-btn -->

          <hr class="mg-y-40">

          <h4 id="section5" class="mg-b-10">Remove Animation</h4>
          <p class="mg-b-30">For modals that simply appear rather than fade in to view, remove the .fade class from your modal markup.</p>

          <div class="demo-modal-btn">
            <a href="#modal7" class="btn btn-dark" data-toggle="modal">View Modal</a>
          </div>
 
          @@include('./footer.html',{})

            </div>
          </div>
        </div><!-- component-content-body -->

        <div class="component-content-sidebar section-nav">
          <label class="tx-10 tx-medium tx-spacing-1 tx-color-03 tx-uppercase tx-sans mg-b-15">On This Page</label>
          <nav id="navSection" class="nav flex-column">
            <a href="#section1" class="nav-link">Basic Example</a>
            <a href="#section2" class="nav-link">Vertically Centered</a>
            <a href="#section3" class="nav-link">Optional Sizes</a>
            <a href="#section4" class="nav-link">Change Animation</a>
            <a href="#section5" class="nav-link">Remove Animation</a>
          </nav>
        </div><!-- component-content-sidebar -->
      </div><!-- component-content -->

    </div><!-- component-wrapper -->



    <div class="modal fade" id="modal1" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
      <div class="modal-dialog" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal fade" id="modal2" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel2" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel2">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal fade" id="modal3" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel3" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered modal-xl" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel3">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal fade" id="modal4" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel4" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel4">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal fade" id="modal5" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel5" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered modal-sm" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel5">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. T</p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal fade" id="modal6" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel6" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel6">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. T</p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    <div class="modal" id="modal7" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel7" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content tx-14">
          <div class="modal-header">
            <h6 class="modal-title" id="exampleModalLabel7">Modal Title</h6>
            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
              <span aria-hidden="true">&times;</span>
            </button>
          </div>
          <div class="modal-body">
            <p class="mg-b-0">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. T</p>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary tx-13" data-dismiss="modal">Close</button>
            <button type="button" class="btn btn-primary tx-13">Save changes</button>
          </div>
        </div>
      </div>
    </div>

    @@include('./_script.html',{})

    <script>
      $(function(){
        'use strict'

        $('#modal6').on('show.bs.modal', function (event) {

          var animation = $(event.relatedTarget).data('animation');
          $(this).addClass(animation);
        })

        // hide modal with effect
        $('#modal6').on('hidden.bs.modal', function (e) {
          $(this).removeClass (function (index, className) {
              return (className.match (/(^|\s)effect-\S+/g) || []).join(' ');
          });
        });

      });
    </script>
  </body>
</html>
